﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using BLL.BUS;
public partial class Admin_Default : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
        //if (!IsPostBack)
        //{
        FControls control = new FControls();

        if (!string.IsNullOrEmpty(Request["menu"]) && control.LoadControl(Request["menu"]))
        {
            holderMenu.Controls.Add(LoadControl(control.Path));
        }

        if (!string.IsNullOrEmpty(Request["control"]) && control.LoadControl(Request["control"]))
        {
            holderContent.Controls.Add(LoadControl(control.Path));
        }
        //}
    }
}